package oa.hleast.xswl.pojo.vo.oms;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 订单商品信息表
 *
 * @author 00209
 * @email dz@hleast.com
 * @date 2021/04/12 09:45:10
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OmsOrderItemVo {
    /**
     * id
     */
    private Long id;
    /**
     * order_id
     */
    private Long orderId;
    /**
     * 商品sku id
     */
    private Long skuId;
    /**
     * 商品sku编号
     */
    private String skuCode;


    private String skuName;

    /**
     * 商品sku图片
     */
    private String skuPic;
    /**
     * 商品sku价格(分)
     */
    private Long skuPrice;
    /**
     * 商品购买的数量
     */
    private Integer skuQuantity;
    /**
     * 商品sku总价格(分)
     */
    private Long skuTotalPrice;
    /**
     * spu_id
     */
    private Long spuId;
    /**
     * spu_name
     */
    private String spuName;
    /**
     * spu_pic
     */
    private String spuPic;
    /**
     * 品牌id
     */
    private Long brandId;
    /**
     * 品牌名称
     */
    private String brandName;
    /**
     * 商品分类id
     */
    private Long categoryId;
    /**
     * 商品分类名称
     */
    private String categoryName;

    @ApiModelProperty("逻辑删除标识 0-未删除 1-已删除")
    @TableLogic(value = "0", delval = "1")
    private Integer deleted;

}
